x86: Fix possible S3 suspend hangs
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 15 Mar 2010 13:17:38 +0000 (13:17 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 15 Mar 2010 13:17:38 +0000 (13:17 +0000)
commit55120309eda0d3bfab572c78b187d57f68054d58
tree4533667657c17c564ee17f443379e8bfed5bd979
parentf1ad4b4ad79e5c3db55fc12826ab19983b03b2e7
x86: Fix possible S3 suspend hangs

It is possible for cpu to become offlined before irq disabled in idle
loop, which will cause this cpu stay in C state and can't wakeup to
play dead.

Signed-off-by: Wei Gang <gang.wei@intel.com>
Signed-off-by: Yu Ke <ke.yu@intel.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/domain.c